package org.beasy.events
{
	import flash.events.Event;
	
	import mx.collections.ArrayCollection;
	import mx.core.UIComponent;
	
	import org.beasy.controls.listClasses.IListItemData;

	/**
	 * 一些ItemRenderer所需要的事件
	 * @author Marco
	 */	
	public class ItemRendererEvent extends Event
	{

		public static const TREE_ITEM_CLICK:String = "treeItemClick";
		public static const TREE_FOLDER_CLICK:String = "treeFolderClick";
		
		public var itemRenderer:UIComponent;
		public var item:IListItemData;
		public var children:ArrayCollection;
		
		public function ItemRendererEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
		
	}
}